﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JiamituAPP {

    public class Response {

        /// <summary>
        /// 成功状态
        /// </summary>
        public Boolean success { get; set; }

        /// <summary>
        /// 状态码
        /// </summary>
        public Int32  code { get; set; }

        public result result { get; set; }
    }

    public class result {
        public Int32 total { get; set; }

        public List<ResultData> data { get; set; }
    }
   public class ResultData {

        /// <summary>
        /// Id
        /// </summary>
        public Int32 id { get; set; }

        /// <summary>
        /// 代数（几代）
        /// </summary>
        public Int32 generation { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public String name { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public Int32 price { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public String type { get; set; }

        /// <summary>
        /// 是否最高出价
        /// </summary>
        public Boolean topbidder { get; set; }

        /// <summary>
        /// 是否出价
        /// </summary>
        public Boolean bidded { get; set; }

        /// <summary>
        /// 稀有度
        /// </summary>
        public String rareDegree { get; set; }

        /// <summary>
        /// 图片地址
        /// </summary>
        public String pic { get; set; }

        /// <summary>
        /// 颜色
        /// </summary>
        public String  color { get; set; }
    }
}
